﻿using Masa.BuildingBlocks.ReadWriteSplitting.Cqrs.Commands;
using Masa.CqrsProject.Models;

namespace Masa.CqrsProject.Commands
{
    /// <summary>
    /// 更新订单命令模型
    /// </summary>
    public record UpdateOrderCommand: Command
    {
        /// <summary>
        /// 订单Id
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 领域对象
        /// </summary>
        public OrderInfo OrderInfo { get; set; }

    }
}
